﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyMES.Domain.W.Liststructure
{
    /// <summary>
    /// 供应商表
    /// </summary>
    public class Supplier
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int SupplierId {  get; set; }

        /// <summary>
        /// 供应商编码
        /// </summary>
        public string SupplierNumber { get; set; }

        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set;}

        /// <summary>
        /// 供应商简介
        /// </summary>
        public string SupplierAbbreviation { get; set; }

        /// <summary>
        /// 供应商等级
        /// </summary>
        public int Sid { get; set; }

        /// <summary>
        /// 供应商评分
        /// </summary>
        public int SupplierRating { get; set; }

        /// <summary>
        /// 供应商电话
        /// </summary>
        public string SupplierPhone { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 供应商英文名
        /// </summary>
        public string SupplierEnglishName { get; set; }

        /// <summary>
        /// 供应商简介
        /// </summary>
        public string SupplierProfile { get; set; }

        /// <summary>
        /// 供应商地址
        /// </summary>
        public string SupplierAddress { get; set; }

        /// <summary>
        /// 供应商官网地址
        /// </summary>
        public string SupplierOfficialAddress { get; set; }

        /// <summary>
        /// 供应商邮箱地址
        /// </summary>
        public string SupplierEmailAddress { get; set; }

        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        public string UnifyCode { get; set; }

        /// <summary>
        /// 供应商LOGO地址
        /// </summary>
        public string SupplierLOGOAddress { get; set; }

        /// <summary>
        /// 供应商等级--新增
        /// </summary>
        public string SupplierGrade { get; set; }
        

        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
